package com.quartet.modules.equipment.dto;

import com.quartet.api.SuperPageBo;
import com.quartet.validation.AddValidation;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.NotBlank;
import java.time.LocalDateTime;
import java.util.List;

/**
 * 库存信息表(TStockInfo)表实体类
 *
 * @author makejava
 * @since 2021-05-04 16:51:16
 */
@Data
public class TStockInfoRequestDto extends SuperPageBo {

    /**
     * @Fields serialVersionUID
     *
     */
    private static final long serialVersionUID = -4635091599541345301L;

    /**
     * 主键id
     */
    @ApiModelProperty(value = "主键id")
    private Integer id;

    /**
     * 设备编码
     */
    @ApiModelProperty(value = "设备编码")
    @NotBlank(message = "设备编码不能为空",groups = {AddValidation.class})
    private String equipmentCode;

    /**
     * 设备类型
     */
    @ApiModelProperty(value = "设备类型")
    @NotBlank(message = "设备类型不能为空",groups = {AddValidation.class})
    private Integer equipmentType;

    /**
     * 所属客户编码
     */
    @ApiModelProperty(value = "所属客户编码")
    private String customerCode;

    /**
     * 生产厂家
     */
    @ApiModelProperty(value = "生产厂家")
    @NotBlank(message = "生产厂家不能为空",groups = {AddValidation.class})
    private String manufacturer;

    /**
     * 流量卡号
     */
    @ApiModelProperty(value = "流量卡号")
    private String flowCardNumber;

    /**
     * 库存状态 1：已用 2：库存
     */
    @ApiModelProperty(value = "库存状态 1：已用 2：库存")
    private String inventoryStatus;

    /**
     * 备注
     */
    @ApiModelProperty(value = "备注")
    private String remarks;

    /**
     * 删除标识 0未删除 1删除
     */
    @ApiModelProperty(value = "删除标识 0未删除 1删除")
    private Integer deleted;

    /**
     * 所属客户编码集合
     */
    @ApiModelProperty(value = "所属客户编码集合")
    private List<String> customerCodeList;

    /**
     * 快速查询条件
     */
    @ApiModelProperty(value = "快速查询条件")
    private String quickQueryValue;
}
